import Link from "next/link";

export default async function Home({ params }: any) {
  console.log(3, await params)
  return (
    <div >
      <div>首页</div>
      {/* 通过Link点击可访问test 但直接访问 http://localhost:3000/test 会404 */}
      <Link href={"/test"}>test</Link><br />
      <Link href={"/userList"}>用户列表</Link>
    </div>
  );
}
